<template>
  <u-popup v-model="show" mode="top">
    <u-navbar :is-back="false" title="资讯详情" :is-fixed="true" title-color="#000"></u-navbar>
		<scroll-view scroll-y style="padding: 50upx 30upx" class="news_detail">
      <view class="color-333">{{detail.newsName}}</view>
      <view class="color-666">{{detail.updateTime}}</view>
      <u-parse :html="detail.newsContent"></u-parse>
    </scroll-view>
	</u-popup>
</template>

<script>
  export default {
  	props: {
  		detail: Object
    },
    data() {
    	return {
        show: false
      }
    },

    onLoad() {

    },

    methods: {

		}
  }
</script>

<style lang="scss" scoped>
  .news_detail {
    .color-333 {
      font-size: 36upx;
      padding-bottom: 30upx;
    }
    .color-666 {
      font-size: 24upx;
    }
  }
</style>